<li class="auction-item  auction-item-category auction-item-recommend" auction-id="<?php echo CHtml::value($data, 'auction_id') ?>"
    attribute-data-last_time=0 attribute-data-end_time=<?php echo CHtml::value($data, 'end_time') ?>>
    <div class="auction-image-cell">
        <a class="auction-detail-link" attribute="url"
           href="<?php echo !empty($data->url) ? $data->url : null ?>">
            <div class="auction-image-box">
            <span class="auction-increment">
                <div class="auction-status-show">

                </div>
                <img class="auction-increment-ico"
                     src='<?php
                             $auctionId=CHtml::value($data, 'auction_id');
                             $rookie = 0;
                             if(null!=$auctionId){
                                 $rookie=AuctionPool::getRookieAuction($auctionId);
                             }
                             if (intval($rookie)>0){
                                 echo Yii::app()->resource->path('img').'/increment/rookie.png';
                             }else {
                                 echo Yii::app()->resource->path('img').'/increment/increment-cent-1.png';
                             }
                     ?>'/>
            </span>
                <img class="auction-image" attribute="images"
                     src='<?php echo !empty($data->images) ? $data->images : Yii::app()->resource->path('img') . '/no-image.png' ?>'
                     onerror="this.src='<?php echo Yii::app()->resource->path('img') . '/no-image.png' ?>'"/>
            </div>
        </a>
    </div>
    <div class="auction-info-cell">
        <a class="auction-detail-link" attribute="url"
           href="<?php echo !empty($data->url) ? $data->url : null ?>">
            <div class="auction-title" attribute="title">
                <?php echo CHtml::value($data, 'title') ?>
            </div>
        </a>
        <div class="auction-winner-cell">
            <div class="auction-winner" attribute="winner_customer">
                <?php
                    $winnerName = CHtml::value($data,'winner_name');
                    $avatar = CHtml::value($data,'winner_avatar')?:'/no-avatar.png';
                ?>
                <div class="winner-no-customer <?php echo empty($winnerName)?null:'hide'?>">
                	No bidders yet
                </div>
                <div class="winner-customer <?php echo empty($winnerName)?'hide':null?>">
                	<!-- <img class="auction-winner-avatar img-circle" attribute="winner_avatar" src='<?php echo $avatar?>' /> -->
                	<span class="auction-winner-name" attribute="winner_name" attribute-animation="flash-value" animation-time=3 ><?php echo $winnerName?></span>
                </div>
                <!-- 
                
                 -->
            </div>
        </div>
        <div class="auction-last-time" attribute="last_date">
            -- : -- : --
        </div>
        <div class="auction-item-footer">
            <div class="auction-winner-price-cell">
                <span class="auction-winner-price" attribute="winner_price" attribute-animation="flash-value"
                      animation-time=3><?php echo CHtml::value($data,'winner_price','$0.00')?></span>
            </div>
            <div class="bid-auction-cell">
                <?php $this->widget('application.components.widgets.CBidAuctionBtn',array(
            	   'auctionId' => CHtml::value($data, 'auction_id')
            	))?>
            </div>
        </div>
    </div>
</li>